package com.maiji.cloud.service;

import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.shopingmall.ShoppingOrderRefundEntity;
import com.maiji.cloud.request.ReqMetaData;
import com.maiji.cloud.request.shopingmall.OrderFindAllReqData;
import com.maiji.cloud.response.BaseMetaResDto;
import com.maiji.cloud.response.shopingmall.ShopingOrderResData;
import com.maiji.cloud.response.shopingmall.ShoppingOrderRefundResData;

import java.util.List;

public interface ShopingOrderRefundService extends IService<ShoppingOrderRefundEntity> {

    ShoppingOrderRefundResData findResDataByOrderId(String orderId);

    BaseMetaResDto<List<ShopingOrderResData>> findAllRefundOrders(OrderFindAllReqData orderFindAllReqData, ReqMetaData metaData, String userId);

}
